package cn.topevery.garden.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.io.Serializable;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.math.BigDecimal;
import org.locationtech.jts.geom.Geometry;
import com.alibaba.fastjson.annotation.JSONField;
import cn.topevery.garden.entity.serializer.GeometrySerializer;
/**
 * 机械信息 视图
 */
@Data
@ApiModel(value = "MachineInfo 视图", description = "机械信息 视图")
public class MachineInfoVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * UUID
     */
    @ApiModelProperty(value = "UUID")
    @Excel(name = "UUID", orderNum = "0")
    private String entityId;

    /**
     * 名称 
     */
    @ApiModelProperty(value = "名称 ")
    @Excel(name = "名称 ", orderNum = "0")
    private String name;

    /**
     * 编码 
     */
    @ApiModelProperty(value = "编码 ")
    @Excel(name = "编码 ", orderNum = "0")
    private String code;

    /**
     * 品牌 
     */
    @ApiModelProperty(value = "品牌 ")
    @Excel(name = "品牌 ", orderNum = "0")
    private String brand;

    /**
     * 所属单位Id 
     */
    @ApiModelProperty(value = "所属单位Id ")
    @Excel(name = "所属单位Id ", orderNum = "0")
    private String deptId;

    /**
     * 所属单位 
     */
    @ApiModelProperty(value = "所属单位 ")
    @Excel(name = "所属单位 ", orderNum = "0")
    private String deptName;

    /**
     * 购入日期 
     */
    @ApiModelProperty(value = "购入日期 ")
    @Excel(name = "购入日期 ", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime buyDate;

    /**
     * 上一次检修时间 
     */
    @ApiModelProperty(value = "上一次检修时间 ")
    @Excel(name = "上一次检修时间 ", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime overhaulDate;


    @ApiModelProperty(value = "状态 ")
    @Excel(name = "状态 ", orderNum = "0")
    private Integer state;

    @ApiModelProperty(value = "描述 ")
    @Excel(name = "描述 ", orderNum = "0")
    private String desc;
}
